<template>
  <div :id="id" ref="pageContainer" class="w-container">
    <slot />
  </div>
</template>

<script>
export default {
  name: 'Index',
  title: {
    type: String,
    default: ''
  },
  data() {
    return {
      id: ''
    }
  },
  mounted() {
    this.id = this.$router.currentRoute.fullPath
  },
  methods: {}
}
</script>

<style scoped lang="scss">
  .w-container {
    height: 100%;
    overflow: hidden !important;
  }
</style>
